-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a warning for when the history path doesn't exist #852
Conversation
Can you add a test case to |
Also, I don't think |
Issue #830 is for |
0458b7b
to
05dfbd1
Compare
05dfbd1
to
1735db9
Compare
1735db9
to
e143b20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much 👍
(ruby/irb#852) * Add a warning for when the history path doesn't exist * warn when the directory does not exist * added test for when the history_file does not exist * Update lib/irb/history.rb --------- ruby/irb@9e6fa67212 Co-authored-by: Stan Lo <stan001212@gmail.com>
This causes a warning in ruby/ruby:
|
When using a file path that doesn't exist in the
IRB.conf[:HISTORY_FILE]
env variable,IRB
creates a new file with that directory without warning the developer.This PR prints a warning when that happens.
#830
Demo
Screen.Recording.2024-02-02.at.4.31.29.PM.mov